import { Modal } from 'view-design'
 
const previewImage = (empty) => {
	Modal.info({
		width: '880px',
		closable: true,
		footerHide: true,
		render: (h) => {
			return h(
				'div',
				{
					style: {
						overflowX: 'hidden',
						maxHeight: 'calc(65vh - 130px)'
					}
				},
				[
					h('img', {
						style: {
							width: '100%'
							// width: '800px'
						},
						attrs: {
							src: empty
						}
					})
				]
			)
		}
	})
}

export default previewImage
